package com.indexingsystem.system.service;

import com.indexingsystem.boss.Vo.DelExportThemeWordsReqVo;
import com.indexingsystem.boss.Vo.ExportThemeWordsListReqVo;
import com.indexingsystem.boss.Vo.IdxThemeWordsExportDeleVo;
import com.indexingsystem.boss.common.PagedResult;
import com.indexingsystem.boss.entity.ExportThemeWordsListResVo;
import com.indexingsystem.boss.entity.IdxExportIndexingProduct;
import com.indexingsystem.boss.entity.IdxExportThemeWords;
import com.indexingsystem.system.exception.ServiceResultException;

import java.text.ParseException;
import java.util.List;

public interface IdxExportThemeWordsService {

    int deleteByPrimaryKey(String id);

    int insert(IdxExportIndexingProduct record);

    int insertSelective(IdxExportIndexingProduct record);

    IdxExportIndexingProduct selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(IdxExportIndexingProduct record);

    int updateByPrimaryKeyWithBLOBs(IdxExportIndexingProduct record);

    int updateByPrimaryKey(IdxExportIndexingProduct record);

    List<IdxExportThemeWords> selectIdxExportThemeById(Integer themeWordsId);
    
    /**
     * 根据主题词导出id,主题id,主题词表id删除列表
     * @param idxThemeWordsExportDeleVo
     * @return
     */
    Integer deleteThemeWordsExport(IdxThemeWordsExportDeleVo idxThemeWordsExportDeleVo);

    Integer deleteThemeWordsExport (DelExportThemeWordsReqVo reqVo) throws ServiceResultException;

    PagedResult<ExportThemeWordsListResVo> getExportThemeWordsList(ExportThemeWordsListReqVo reqVo) throws ParseException;

    int selectCountByIds(List<String> ids);
}
